import App from './App.js'
import Login from './pages/login'
import Goods from './pages/goods'
import Drag from './pages/drag'
import React from 'react';
import {Route, BrowserRouter, Switch,HashRouter} from 'react-router-dom';


const routers =
    <HashRouter>
        <div>
            <Route exact path="/" component={App}></Route>
            <Route path="/login" component={Login}></Route>
            <Route path="/goods" component={Goods}></Route>
            <Route path="/drag" component={Drag}></Route>
        </div>
    </HashRouter>

export default routers;